package com.coding.dao;

import com.coding.pojo.Video;

import java.util.List;

public interface VideoDao {
    int deleteByPrimaryKey(Integer video_id);

    int insert(Video record);

    int insertSelective(Video record);

    Video selectByPrimaryKey(Integer video_id);

    int updateByPrimaryKeySelective(Video record);

    int updateByPrimaryKey(Video record);

    List<Video> selectByName(String name);

    List<Video> selectByTag(String tag);
}